<?xml version="1.0"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes"/>

<xsl:template match="/objects">
<html>
	<head>
	<title>Noosphere Tag Browser</title>
	<link rel="stylesheet" href="http://planet.math.uwaterloo.ca/stylesheets/new.css"/>
	<link rel="stylesheet" href="http://planet.math.uwaterloo.ca/stylesheets/multilink.css"/>
	<link rel="stylesheet" href="http://planet.math.uwaterloo.ca/stylesheets/test.css"/>


	<script src="http://planet.math.uwaterloo.ca/javascripts/jquery.js" type="text/javascript"></script>
	<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
	<script src="http://planet.math.uwaterloo.ca/javascripts/pm.js" type="text/javascript"></script>
	<script type="text/javascript">
	$(function() {
	$("#accordion").accordion({
			event: "mouseover",
			header: 'h4'
		});
	});
	</script>

	</head>

<body>
<h1>Noosphere Tag Browser</h1>
<div id="contentpane">
<div id="accordion">
	<xsl:for-each select="object">
	<h4><xsl:value-of select="id"/><xsl:text> </xsl:text>
	<a>
        <xsl:attribute name="href">http://planet.math.uwaterloo.ca/?op=newview&amp;from=objects&amp;id=<xsl:value-of select="id"/>&amp;method=js</xsl:attribute>
	<xsl:value-of select="title" disable-output-escaping="yes"/>
	</a>
	</h4>
	<div>
		<p>
		Owned by: <xsl:value-of select="authors" disable-output-escaping="yes"/> <br/>
		Tags: <xsl:value-of select="tags"/> <br/>
		Modified: <xsl:value-of select="modified"/> <br/>
		Created: <xsl:value-of select="created"/> <br/>
		</p>
	</div>
	</xsl:for-each>
</div>
</div>
</body>

</html>
</xsl:template>


</xsl:stylesheet>
